DEFINE VERSION SA 0.33


; Stripped Mission Script
; for GTA San Andreas
; use SA Mission Builder 0.33+ to compile

; © 2005 by Steve M.
; www.steve-m.com | www.gtaforums.com


0002: jump ££Second_Segment
DEFINE MEMORY  32 ; Don't forget to increase this if you add variables.

:Second_Segment
0002: jump ££Third_Segment
DEFINE OBJECTS  1
DEFINE OBJECT STEVE-M.COM ; This is an unused object. You can put anything here.

:Third_Segment
0002: jump ££Fourth_Segment
DEFINE MISSIONS  0

:Fourth_Segment
0002: jump ££Fifth_Segment
DEFINE EXTERNAL_SCRIPTS  0

:Fifth_Segment
0002: jump ££Sixth_Segment
DEFINE UNKNOWN_FIFTH_SEGMENT
DEFINE UNKNOWN1  0

:Sixth_Segment
0002: jump ££MAIN_1
DEFINE UNKNOWN_SIXTH_SEGMENT
DEFINE UNKNOWN3  0

;-------------MAIN---------------


:MAIN_1
03A4: name_thread 'MAIN'
016A: fade  0 ()  0 ms

042C: set_total_missions_to  0
030D: set_total_mission_points_to  0
01F0: set_max_wanted_level_to  6
0111: set_wasted_busted_check_to  0 (disabled)
00C0: set_current_time  10  0

$SpawnX = 0.0
$SpawnY = 0.0
$SpawnZ = 30.0

04E4: unknown_refresh_game_renderer_at  $SpawnX $SpawnY
03CB: set_camera  $SpawnX $SpawnY $SpawnZ
062A: change_stat  165 (energy) to  999.0  ; float
062A: change_stat  23 (muscle) to  999.0  ; float
062A: change_stat  21 (fat) to  0.0  ; float
062A: change_stat  163 (health) to  999.0  ; float
062A: change_stat  160 (driving skill) to  999.0  ; float
062A: change_stat  229 (bike skill) to  999.0  ; float
062A: change_stat  223 (flying skill) to  999.0  ; float
062A: change_stat  230 (cicle skill) to  999.0  ; float
0629: change_stat  181 (islands unlocked) to  4  ; integer see statdisp.dat
0629: change_stat  68 () to  0  ; integer see statdisp.dat
0053: $PLAYER_CHAR = create_player #NULL at  $SpawnX $SpawnY $SpawnZ
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0373: set_camera_directly_behind_player
0173: set_actor $PLAYER_ACTOR z_angle_to  262.0


01B6: set_weather  1
087B: set_player $PLAYER_CHAR clothes "bballjackrstar" "bbjack"  0
087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS"  2
087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER"  3
087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD"  1
070D: $PLAYER_CHAR
04BB: select_interior  0  ;; select render area

01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)
01B7: release_weather
016C: restart_if_wasted at  $SpawnX $SpawnY $SpawnZ angle  0.0 unknown  0

0247: request_model #hydra
:MAIN_2
0001: wait  0 ms
00D6: if  0
0248:   model #hydra available
004D: jump_if_false ££MAIN_2
00A5: $vehicle = create_car #hydra at $SpawnX $SpawnY $SpawnZ
036A: put_actor $PLAYER_ACTOR in_car $vehicle

016A: fade  1 ()  1000 ms

0001: wait  100 ms
03E6: remove_text_box

:MAIN_3
0001: wait 2500 ms
0002: jump ££MAIN_3
